package ee.nlp.evn.entities;

import java.util.ArrayList;
import java.util.List;

public class Frame {
	private List<String> names;
	private List<String> examples;
	private Pattern pattern;
	private List<Predicate> semantics;
	public Frame(String name) {
		this.names = new ArrayList<String>();
		this.examples = new ArrayList<String>();
		this.pattern = new Pattern();
		this.semantics = new ArrayList<Predicate>();
		addName(name);
	}
	/**
	 * @return the names
	 */
	public List<String> getNames() {
		return names;
	}
	/**
	 * @param names the names to set
	 */
	public void addName(String name) {
		this.names.add(name);
	}
	/**
	 * @return the examples
	 */
	public List<String> getExamples() {
		return examples;
	}
	/**
	 * @param examples the examples to set
	 */
	public void addExample(String example) {
		this.examples.add(example);
	}
	/**
	 * @return the pattern
	 */
	public Pattern getPattern() {
		return pattern;
	}
	/**
	 * @param pattern the pattern to set
	 */
	public void setPattern(Pattern pattern) {
		this.pattern = pattern;
	}
	/**
	 * @return the semantics
	 */
	public List<Predicate> getSemantics() {
		return semantics;
	}
	/**
	 * @param semantics the semantics to set
	 */
	public void addSemantics(Predicate predicate) {
		this.semantics.add(predicate);
	}
	
}
